﻿using DapperExtensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ET_DbCommon.Model
{
    [Table("exam")]
    public partial class ExamModel : Entity
    {
        /// <summary>
        /// 试卷描述
        /// </summary>
        public string Describes { get; set; }

        /// <summary>
        /// 关联的试题的索引集合;如果有多个试题。英文逗号隔开
        /// </summary>
        public string TesquestiontList { get; set; }

        /// <summary>
        /// 总分数
        /// </summary>
        public decimal TotalScore { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 考核试卷索引
        /// </summary>
        public int PaperId { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 培训试卷索引集合;如果有多个试题。英文逗号隔开
        /// </summary>
        public string ExamquestionList { get; set; }
        /// <summary>
        /// 考试试卷表
        /// </summary>
        [Computed]
        public List<Exam_TestQuestionModel> Exam_Questions { get; set; }
    }
}
